﻿@model List<FOModels.BlogNews.BlogNewsCategoryModels>
@{
    int lang = (int)ViewBag.Lang;
}
<div class="box-finacial-cal" style="float: left;">
    <div class="title-finacial-cal">
        <h3 class="h3-title-finacial-cal">Category</h3>
    </div>
    <ul class="category">
        @foreach (var p in Model)
        {
            if (FOSystem.Utility.ConfigHelper.CountBlogNewsByCate(p.BlogNewsCategoryID, lang) > 0)
            {
            <li rel="rel-pro-@p.BlogNewsCategoryID">
                <a rel="rel-pro-@p.BlogNewsCategoryID" href="#">@p.BlogNewsCategoryName
                    <span class="category__count">@FOSystem.Utility.ConfigHelper.CountBlogNewsByCate(p.BlogNewsCategoryID, lang)</span>
                </a>
            </li>
            }
        }
    </ul>
</div>
